package cloud.maque.sms.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "maque.sms")
public class SmsProperties {


    @NestedConfigurationProperty
    AliyunProperties aliyun = new AliyunProperties();

    /*
     * 默认 短信服务商
     */
    String provider;

    /**
     * 发送验证码模板
     */
    String codeTemplate;

}
